package com.ssy.lingxi.system.dto.request;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
* 绑定角色和会员字段配置信息
* @author wrc
* @date 2020/8/11
*/
public class SetRoleConfigRequest {

    /**
     * 角色Id
     */
    @NotNull(message = "角色ID不能为空")
    @ApiModelProperty(value = "角色Id",required = true)
    private Long roleId;

    /**
     * 关联的会员配置资料的Id列表
     */
    @ApiModelProperty(value = "会员字段配置ID集合",required = true)
    private List<Long> configIds;

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public List<Long> getConfigIds() {
        return configIds;
    }

    public void setConfigIds(List<Long> configIds) {
        this.configIds = configIds;
    }
}
